{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}I:\Sebastian\Statistics\Stata\Stata13\fpa-bitsaid-appendix-b.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}27 Jul 2025, 10:12:22
{txt}
{com}. version 13.1
{txt}
{com}. 
. //alternative instruments analysis
. 
. use fpa-aid_bits_final,clear
{txt}
{com}. 
. //table a1: regional gdp as iv
. 
. version 13.1: teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lln_mean_gdp lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 1.148e-22}  
Iteration 1:{space 2}EE criterion = {res: 1.491e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    98,160
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 3.824473{col 26}{space 2} .1167115{col 37}{space 1}   32.77{col 46}{space 3}0.000{col 54}{space 4} 3.595722{col 67}{space 3} 4.053223
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.324289{col 26}{space 2} .0263095{col 37}{space 1}  202.37{col 46}{space 3}0.000{col 54}{space 4} 5.272724{col 67}{space 3} 5.375855
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t1, label word dec(3) e(n1 n0) replace addtext() noni nor2 ctitle("AIPW") sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t1.rtf"'"':bits_aid_t1.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t1.txt", label"':seeout}

{com}. 
. //table a2: democracies
. ///short time horizon
> 
. version 13.1: teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lln_mean_gdp lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0&dpi_yio<4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 1.211e-24}  
Iteration 1:{space 2}EE criterion = {res: 2.890e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    20,718
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 3.465943{col 26}{space 2} .2352256{col 37}{space 1}   14.73{col 46}{space 3}0.000{col 54}{space 4}  3.00491{col 67}{space 3} 3.926977
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.760975{col 26}{space 2} .0604892{col 37}{space 1}   95.24{col 46}{space 3}0.000{col 54}{space 4} 5.642419{col 67}{space 3} 5.879532
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t2, label word dec(3) e(n1 n0) replace ctitle(Democracy short) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t2.rtf"'"':bits_aid_t2.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t2.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
. version 13.1:teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lln_mean_gdp lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0&dpi_yio>=4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 1.202e-19}  
Iteration 1:{space 2}EE criterion = {res: 3.249e-29}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    17,279
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 3.835154{col 26}{space 2} .4722151{col 37}{space 1}    8.12{col 46}{space 3}0.000{col 54}{space 4}  2.90963{col 67}{space 3} 4.760679
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.970749{col 26}{space 2} .0654169{col 37}{space 1}   91.27{col 46}{space 3}0.000{col 54}{space 4} 5.842534{col 67}{space 3} 6.098964
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t2, label word dec(3) e(n1 n0) append ctitle(Democracy long) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t2.rtf"'"':bits_aid_t2.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t2.txt", label"':seeout}

{com}. 
. //table a3: non-democracies
. ///short time horizon
> teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lln_mean_gdp lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0&dpi_yio<10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 4.739e-23}  
Iteration 1:{space 2}EE criterion = {res: 1.889e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    33,229
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 4.189846{col 26}{space 2} .2898401{col 37}{space 1}   14.46{col 46}{space 3}0.000{col 54}{space 4}  3.62177{col 67}{space 3} 4.757923
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.225842{col 26}{space 2} .0441821{col 37}{space 1}  118.28{col 46}{space 3}0.000{col 54}{space 4} 5.139246{col 67}{space 3} 5.312437
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. outreg2 using bits_aid_t2, label word dec(3) e(n1 n0) append ctitle(Non-democracy short) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t2.rtf"'"':bits_aid_t2.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t2.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lln_mean_gdp lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0&dpi_yio>10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 6.819e-22}  
Iteration 1:{space 2}EE criterion = {res: 8.375e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    20,767
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 3.442985{col 26}{space 2} .2061474{col 37}{space 1}   16.70{col 46}{space 3}0.000{col 54}{space 4} 3.038944{col 67}{space 3} 3.847027
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 4.999415{col 26}{space 2} .0564623{col 37}{space 1}   88.54{col 46}{space 3}0.000{col 54}{space 4} 4.888751{col 67}{space 3} 5.110079
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. outreg2 using bits_aid_t2, label word dec(3) e(n1 n0) append ctitle(Non-democracy long) noni nor2 cttop("AIPW") sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t2.rtf"'"':bits_aid_t2.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t2.txt", label"':seeout}

{com}. 
. //table a4: regional trade as iv 
. 
. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lln_mean_trade lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 3.269e-22}  
Iteration 1:{space 2}EE criterion = {res: 2.131e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    98,160
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}         lnaid{col 16}{c |} Coefficient{col 28}  std. err.{col 40}      z{col 48}   P>|z|{col 56}     [95% con{col 69}f. interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE            {txt}{c |}
{space 5}lbit_ratf {c |}
{space 5}(1 vs 0)  {c |}{col 16}{res}{space 2} 3.776448{col 28}{space 2} .1409604{col 39}{space 1}   26.79{col 48}{space 3}0.000{col 56}{space 4} 3.500171{col 69}{space 3} 4.052725
{txt}{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean         {txt}{c |}
{space 5}lbit_ratf {c |}
{space 12}0  {c |}{col 16}{res}{space 2}  5.34485{col 28}{space 2} .0263883{col 39}{space 1}  202.55{col 48}{space 3}0.000{col 56}{space 4}  5.29313{col 69}{space 3}  5.39657
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t3, label word dec(3) e(n1 n0) append ctitle(Non-democracy long) noni nor2 cttop("AIPW") sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t3.rtf"'"':bits_aid_t3.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t3.txt", label"':seeout}

{com}. 
. //table a5: democracies 
. ///short time horizon
> 
. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lln_mean_trade lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0&dpi_yio<4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 4.413e-18}  
Iteration 1:{space 2}EE criterion = {res: 1.513e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    20,718
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}         lnaid{col 16}{c |} Coefficient{col 28}  std. err.{col 40}      z{col 48}   P>|z|{col 56}     [95% con{col 69}f. interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE            {txt}{c |}
{space 5}lbit_ratf {c |}
{space 5}(1 vs 0)  {c |}{col 16}{res}{space 2} 3.588157{col 28}{space 2} .2550472{col 39}{space 1}   14.07{col 48}{space 3}0.000{col 56}{space 4} 3.088274{col 69}{space 3} 4.088041
{txt}{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean         {txt}{c |}
{space 5}lbit_ratf {c |}
{space 12}0  {c |}{col 16}{res}{space 2}   5.7898{col 28}{space 2} .0607755{col 39}{space 1}   95.27{col 48}{space 3}0.000{col 56}{space 4} 5.670683{col 69}{space 3} 5.908918
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t4, label word dec(3) e(n1 n0) replace ctitle(Democracy short) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t4.rtf"'"':bits_aid_t4.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t4.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lln_mean_trade lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0&dpi_yio>=4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 1.985e-19}  
Iteration 1:{space 2}EE criterion = {res: 2.635e-28}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    17,279
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}         lnaid{col 16}{c |} Coefficient{col 28}  std. err.{col 40}      z{col 48}   P>|z|{col 56}     [95% con{col 69}f. interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE            {txt}{c |}
{space 5}lbit_ratf {c |}
{space 5}(1 vs 0)  {c |}{col 16}{res}{space 2}  3.83942{col 28}{space 2} .5018745{col 39}{space 1}    7.65{col 48}{space 3}0.000{col 56}{space 4} 2.855764{col 69}{space 3} 4.823076
{txt}{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean         {txt}{c |}
{space 5}lbit_ratf {c |}
{space 12}0  {c |}{col 16}{res}{space 2} 5.993948{col 28}{space 2} .0655752{col 39}{space 1}   91.41{col 48}{space 3}0.000{col 56}{space 4} 5.865423{col 69}{space 3} 6.122473
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t4, label word dec(3) e(n1 n0) append ctitle(Democracy long) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t4.rtf"'"':bits_aid_t4.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t4.txt", label"':seeout}

{com}. 
. //table a6: non-democracies
. 
. ///short time horizon
> teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lln_mean_trade lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0&dpi_yio<10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 4.527e-23}  
Iteration 1:{space 2}EE criterion = {res: 2.031e-31}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    33,229
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}         lnaid{col 16}{c |} Coefficient{col 28}  std. err.{col 40}      z{col 48}   P>|z|{col 56}     [95% con{col 69}f. interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE            {txt}{c |}
{space 5}lbit_ratf {c |}
{space 5}(1 vs 0)  {c |}{col 16}{res}{space 2} 4.362851{col 28}{space 2}  .269314{col 39}{space 1}   16.20{col 48}{space 3}0.000{col 56}{space 4} 3.835005{col 69}{space 3} 4.890697
{txt}{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean         {txt}{c |}
{space 5}lbit_ratf {c |}
{space 12}0  {c |}{col 16}{res}{space 2} 5.231989{col 28}{space 2} .0442708{col 39}{space 1}  118.18{col 48}{space 3}0.000{col 56}{space 4}  5.14522{col 69}{space 3} 5.318758
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t4, label word dec(3) e(n1 n0) append ctitle(Non-democracy short) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t4.rtf"'"':bits_aid_t4.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t4.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lln_mean_trade lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0&dpi_yio>10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 1.385e-21}  
Iteration 1:{space 2}EE criterion = {res: 5.538e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    20,767
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}         lnaid{col 16}{c |} Coefficient{col 28}  std. err.{col 40}      z{col 48}   P>|z|{col 56}     [95% con{col 69}f. interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE            {txt}{c |}
{space 5}lbit_ratf {c |}
{space 5}(1 vs 0)  {c |}{col 16}{res}{space 2} 3.740738{col 28}{space 2} .2205974{col 39}{space 1}   16.96{col 48}{space 3}0.000{col 56}{space 4} 3.308375{col 69}{space 3} 4.173101
{txt}{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean         {txt}{c |}
{space 5}lbit_ratf {c |}
{space 12}0  {c |}{col 16}{res}{space 2} 5.009989{col 28}{space 2} .0566949{col 39}{space 1}   88.37{col 48}{space 3}0.000{col 56}{space 4} 4.898869{col 69}{space 3} 5.121109
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t4, label word dec(3) e(n1 n0) append ctitle(Non-democracy long) noni nor2 cttop("AIPW") sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t4.rtf"'"':bits_aid_t4.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t4.txt", label"':seeout}

{com}. 
. **use regime-specific measures of time horizon 
. 
. //table a7: democracies, use Party of Chief Executive Length of Time in Office
. 
. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 4.522e-20}  
Iteration 1:{space 2}EE criterion = {res: 1.066e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    39,060
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 3.694867{col 26}{space 2} .2151033{col 37}{space 1}   17.18{col 46}{space 3}0.000{col 54}{space 4} 3.273273{col 67}{space 3} 4.116462
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.893947{col 26}{space 2} .0441213{col 37}{space 1}  133.59{col 46}{space 3}0.000{col 54}{space 4} 5.807471{col 67}{space 3} 5.980423
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. su dpi_hlio if e(sample)

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 4}dpi_hlio {c |}{res}     34,632    6.671373    8.732011          1         69
{txt}
{com}. 
. ///short time horizon
> 
. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0& dpi_gpage1<19&dpi_gpage1!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 3.860e-16}  
Iteration 1:{space 2}EE criterion = {res: 1.520e-23}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    17,776
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 3.660677{col 26}{space 2} .2247604{col 37}{space 1}   16.29{col 46}{space 3}0.000{col 54}{space 4} 3.220155{col 67}{space 3} 4.101199
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.826579{col 26}{space 2}  .069797{col 37}{space 1}   83.48{col 46}{space 3}0.000{col 54}{space 4}  5.68978{col 67}{space 3} 5.963379
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t11, label word dec(3) e(n1 n0) replace cttop(Democracy short) noni nor2  sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t11.rtf"'"':bits_aid_t11.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t11.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0& dpi_gpage1>=19&dpi_gpage1!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 6.704e-19}  
Iteration 1:{space 2}EE criterion = {res: 1.429e-29}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    18,346
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2}  4.03272{col 26}{space 2} .3187575{col 37}{space 1}   12.65{col 46}{space 3}0.000{col 54}{space 4} 3.407967{col 67}{space 3} 4.657473
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.954427{col 26}{space 2}  .061884{col 37}{space 1}   96.22{col 46}{space 3}0.000{col 54}{space 4} 5.833136{col 67}{space 3} 6.075717
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t11, label word dec(3) e(n1 n0) append cttop(Democracy long) noni nor2  sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t11.rtf"'"':bits_aid_t11.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t11.txt", label"':seeout}

{com}. 
. ///table a8: non-democracies
> 
. ///short time horizon
> teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0&autoc_time_horizon<0.92&autoc_time_horizon!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 1.137e-22}  
Iteration 1:{space 2}EE criterion = {res: 6.466e-31}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    24,775
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 4.427528{col 26}{space 2} .2532413{col 37}{space 1}   17.48{col 46}{space 3}0.000{col 54}{space 4} 3.931184{col 67}{space 3} 4.923871
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.612694{col 26}{space 2} .0521395{col 37}{space 1}  107.65{col 46}{space 3}0.000{col 54}{space 4} 5.510502{col 67}{space 3} 5.714886
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t12, label word dec(3) e(n1 n0) append cttop(Non-democracy short) noni nor2  sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t12.rtf"'"':bits_aid_t12.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t12.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0&autoc_time_horizon>=0.92&autoc_time_horizon!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 5.791e-23}  
Iteration 1:{space 2}EE criterion = {res: 1.227e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    23,121
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 3.790507{col 26}{space 2} .2398435{col 37}{space 1}   15.80{col 46}{space 3}0.000{col 54}{space 4} 3.320423{col 67}{space 3} 4.260592
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 4.595709{col 26}{space 2} .0496819{col 37}{space 1}   92.50{col 46}{space 3}0.000{col 54}{space 4} 4.498334{col 67}{space 3} 4.693084
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t12, label word dec(3) e(n1 n0) append cttop(Non-democracy long) noni nor2  sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t12.rtf"'"':bits_aid_t12.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t12.txt", label"':seeout}

{com}. 
. //extra controls
. use aid_bits_all_time_horizon_isds, clear
{txt}
{com}. 
. set more off
{txt}
{com}. sort dyad year
{txt}
{com}. 
. //table a9: LDV
. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance  lally lunsc_member lcoldwar llnaid) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta colonial_tie lally lunsc_member lcoldwar llnaid) if oecd_i==1&oecd_j==0
{err}variable {bf}lag_tbit{sf} not found
{txt}{phang}The treatment-model is misspecified.{p_end}
{phang}An outline of the syntax is{p_end}
{phang}{helpb teffects aipw} {bf:(}{it:outcome_variable varlist}{bf:)} {bf:(}{it:treatment_variable varlist}{bf:)} {p_end}
{search r(111), local:r(111);}

end of do-file

{search r(111), local:r(111);}

{com}. do "C:\Users\SEBAST~1\AppData\Local\Temp\STD14b0_00000o.tmp"
{txt}
{com}. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance  lally lunsc_member lcoldwar llnaid) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta colonial_tie lally lunsc_member lcoldwar llnaid) if oecd_i==1&oecd_j==0
{err}variable {bf}lag_tbit{sf} not found
{txt}{phang}The treatment-model is misspecified.{p_end}
{phang}An outline of the syntax is{p_end}
{phang}{helpb teffects aipw} {bf:(}{it:outcome_variable varlist}{bf:)} {bf:(}{it:treatment_variable varlist}{bf:)} {p_end}
{search r(111), local:r(111);}

end of do-file

{search r(111), local:r(111);}

{com}. do "C:\Users\SEBAST~1\AppData\Local\Temp\STD14b0_00000p.tmp"
{txt}
{com}. use fpa-aid_bits_final,clear
{txt}
{com}. 
. set more off
{txt}
{com}. sort dyad year
{txt}
{com}. 
. //table a9: LDV
. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance  lally lunsc_member lcoldwar llnaid) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta colonial_tie lally lunsc_member lcoldwar llnaid) if oecd_i==1&oecd_j==0

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 6.020e-22}  
Iteration 1:{space 2}EE criterion = {res: 1.834e-31}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    98,159
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 1.011543{col 26}{space 2} .1074634{col 37}{space 1}    9.41{col 46}{space 3}0.000{col 54}{space 4}  .800919{col 67}{space 3} 1.222168
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.842392{col 26}{space 2} .0247198{col 37}{space 1}  236.34{col 46}{space 3}0.000{col 54}{space 4} 5.793942{col 67}{space 3} 5.890842
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_ta2, label word dec(3) e(n1 n0) replace noni nor2 cttop("LDV") sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_ta2.rtf"'"':bits_aid_ta2.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_ta2.txt", label"':seeout}

{com}. 
. //table a10: jointvotes
. 
. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance  lally lunsc_member lcoldwar ljointvotes) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta colonial_tie lally lunsc_member lcoldwar ljointvotes) if oecd_i==1&oecd_j==0

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 5.381e-23}  
Iteration 1:{space 2}EE criterion = {res: 4.752e-31}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    63,777
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 4.139677{col 26}{space 2} .2072817{col 37}{space 1}   19.97{col 46}{space 3}0.000{col 54}{space 4} 3.733412{col 67}{space 3} 4.545941
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.764959{col 26}{space 2} .0339507{col 37}{space 1}  169.80{col 46}{space 3}0.000{col 54}{space 4} 5.698417{col 67}{space 3} 5.831501
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_ta2, label word dec(3) e(n1 n0) replace noni nor2 title("Joint Votes") sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_ta2.rtf"'"':bits_aid_ta2.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_ta2.txt", label"':seeout}

{com}. 
. //table a11: other aid
. 
. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance  lally lunsc_member lcoldwar lln_aid_other) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta colonial_tie lally lunsc_member lcoldwar lln_aid_other) if oecd_i==1&oecd_j==0

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 6.469e-23}  
Iteration 1:{space 2}EE criterion = {res: 1.703e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    86,916
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}        lnaid{col 15}{c |} Coefficient{col 27}  std. err.{col 39}      z{col 47}   P>|z|{col 55}     [95% con{col 68}f. interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE           {txt}{c |}
{space 4}lbit_ratf {c |}
{space 4}(1 vs 0)  {c |}{col 15}{res}{space 2} 4.127173{col 27}{space 2} .1203197{col 38}{space 1}   34.30{col 47}{space 3}0.000{col 55}{space 4} 3.891351{col 68}{space 3} 4.362996
{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean        {txt}{c |}
{space 4}lbit_ratf {c |}
{space 11}0  {c |}{col 15}{res}{space 2} 5.719941{col 27}{space 2} .0285418{col 38}{space 1}  200.41{col 47}{space 3}0.000{col 55}{space 4} 5.664001{col 68}{space 3} 5.775882
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_ta2, label word dec(3) e(n1 n0) replace noni nor2 title("Other Aid") sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_ta2.rtf"'"':bits_aid_ta2.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_ta2.txt", label"':seeout}

{com}. 
. //table a12: donor exports
. 
. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance  lally lunsc_member lcoldwar lln_donor) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta colonial_tie lally lunsc_member lcoldwar lln_donor) if oecd_i==1&oecd_j==0

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 7.787e-22}  
Iteration 1:{space 2}EE criterion = {res: 1.956e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    60,943
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2}  3.58871{col 26}{space 2} .1507524{col 37}{space 1}   23.81{col 46}{space 3}0.000{col 54}{space 4} 3.293241{col 67}{space 3} 3.884179
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 6.226857{col 26}{space 2} .0357282{col 37}{space 1}  174.28{col 46}{space 3}0.000{col 54}{space 4} 6.156831{col 67}{space 3} 6.296883
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. outreg2 using bits_aid_ta2, label word dec(3) e(n1 n0) replace noni nor2 title("Donor Exports") sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_ta2.rtf"'"':bits_aid_ta2.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_ta2.txt", label"':seeout}

{com}. 
. //talbe a13: human rights
. 
. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance  lally lunsc_member lcoldwar lciri_physint) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta colonial_tie lally lunsc_member lcoldwar lciri_physint) if oecd_i==1&oecd_j==0

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 1.470e-22}  
Iteration 1:{space 2}EE criterion = {res: 5.381e-31}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    82,643
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}        lnaid{col 15}{c |} Coefficient{col 27}  std. err.{col 39}      z{col 47}   P>|z|{col 55}     [95% con{col 68}f. interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE           {txt}{c |}
{space 4}lbit_ratf {c |}
{space 4}(1 vs 0)  {c |}{col 15}{res}{space 2} 3.830636{col 27}{space 2} .1637501{col 38}{space 1}   23.39{col 47}{space 3}0.000{col 55}{space 4} 3.509692{col 68}{space 3}  4.15158
{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean        {txt}{c |}
{space 4}lbit_ratf {c |}
{space 11}0  {c |}{col 15}{res}{space 2} 5.809821{col 27}{space 2} .0296865{col 38}{space 1}  195.71{col 47}{space 3}0.000{col 55}{space 4} 5.751636{col 68}{space 3} 5.868005
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. outreg2 using bits_aid_ta2, label word dec(3) e(n1 n0) replace noni nor2 title("Human Rights") sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_ta2.rtf"'"':bits_aid_ta2.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_ta2.txt", label"':seeout}

{com}. 
. 
. ***********************************
. heterogeneity
{err}command {bf}heterogeneity{sf} is unrecognized
{txt}{search r(199), local:r(199);}

end of do-file

{search r(199), local:r(199);}

{com}. do "C:\Users\SEBAST~1\AppData\Local\Temp\STD14b0_00000q.tmp"
{txt}
{com}. **LDV
. //table a14: democracies
. 
. //short time horizon
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar llnaid) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar llnaid) if oecd_i==1&oecd_j==0&dpi_yio<4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 2.627e-26}  
Iteration 1:{space 2}EE criterion = {res: 1.041e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    20,718
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2}  .740101{col 26}{space 2} .2448845{col 37}{space 1}    3.02{col 46}{space 3}0.003{col 54}{space 4} .2601362{col 67}{space 3} 1.220066
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2}  6.34971{col 26}{space 2} .0555795{col 37}{space 1}  114.25{col 46}{space 3}0.000{col 54}{space 4} 6.240776{col 67}{space 3} 6.458644
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t6, label word dec(3) e(n1 n0) replace cttop(Democracy short) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t6.rtf"'"':bits_aid_t6.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t6.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar llnaid) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar llnaid) if oecd_i==1&oecd_j==0&dpi_yio>=4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 4.161e-19}  
Iteration 1:{space 2}EE criterion = {res: 8.300e-28}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    17,279
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 1.107482{col 26}{space 2} .5577685{col 37}{space 1}    1.99{col 46}{space 3}0.047{col 54}{space 4} .0142755{col 67}{space 3} 2.200688
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 6.501226{col 26}{space 2} .0599617{col 37}{space 1}  108.42{col 46}{space 3}0.000{col 54}{space 4} 6.383703{col 67}{space 3} 6.618749
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t6, label word dec(3) e(n1 n0) append cttop(Democracy long) noni nor2  sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t6.rtf"'"':bits_aid_t6.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t6.txt", label"':seeout}

{com}. 
. //table a15: non-democracies
. ///short time horizon
>  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar llnaid) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar llnaid) if oecd_i==1&oecd_j==0&dpi_yio<10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 2.940e-21}  
Iteration 1:{space 2}EE criterion = {res: 6.963e-32}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    33,228
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2}  1.45867{col 26}{space 2} .2700056{col 37}{space 1}    5.40{col 46}{space 3}0.000{col 54}{space 4} .9294687{col 67}{space 3} 1.987871
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.703672{col 26}{space 2} .0422779{col 37}{space 1}  134.91{col 46}{space 3}0.000{col 54}{space 4} 5.620808{col 67}{space 3} 5.786535
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t6, label word dec(3) e(n1 n0) append cttop(Non-democracy short) noni nor2  sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t6.rtf"'"':bits_aid_t6.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t6.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar llnaid) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar llnaid) if oecd_i==1&oecd_j==0&dpi_yio>10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 6.615e-25}  
Iteration 1:{space 2}EE criterion = {res: 3.704e-31}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    20,767
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 1.120762{col 26}{space 2} .1985587{col 37}{space 1}    5.64{col 46}{space 3}0.000{col 54}{space 4} .7315938{col 67}{space 3}  1.50993
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.505979{col 26}{space 2} .0526961{col 37}{space 1}  104.49{col 46}{space 3}0.000{col 54}{space 4} 5.402696{col 67}{space 3} 5.609261
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t6, label word dec(3) e(n1 n0) append cttop(Non-democracy long) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t6.rtf"'"':bits_aid_t6.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t6.txt", label"':seeout}

{com}. 
. **joint votes
. 
. //table a16: democracies
. ///short time horizon
> 
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar ljointvotes) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar ljointvotes) if oecd_i==1&oecd_j==0&dpi_yio<4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 5.697e-16}  
Iteration 1:{space 2}EE criterion = {res: 6.029e-25}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}     9,870
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2}  3.72004{col 26}{space 2} .2872728{col 37}{space 1}   12.95{col 46}{space 3}0.000{col 54}{space 4} 3.156996{col 67}{space 3} 4.283084
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 6.623831{col 26}{space 2} .0945086{col 37}{space 1}   70.09{col 46}{space 3}0.000{col 54}{space 4} 6.438598{col 67}{space 3} 6.809065
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t7, label word dec(3) e(n1 n0) replace cttop(Democracy short) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t7.rtf"'"':bits_aid_t7.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t7.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar ljointvotes) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar ljointvotes) if oecd_i==1&oecd_j==0&dpi_yio>=4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 1.499e-19}  
Iteration 1:{space 2}EE criterion = {res: 7.891e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}     9,459
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 4.097316{col 26}{space 2} .4298511{col 37}{space 1}    9.53{col 46}{space 3}0.000{col 54}{space 4} 3.254823{col 67}{space 3} 4.939808
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 6.833173{col 26}{space 2} .0940313{col 37}{space 1}   72.67{col 46}{space 3}0.000{col 54}{space 4} 6.648875{col 67}{space 3} 7.017471
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t7, label word dec(3) e(n1 n0) append cttop(Democracy long) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t7.rtf"'"':bits_aid_t7.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t7.txt", label"':seeout}

{com}. 
. //table a17: non-democracies
. //short time horizon
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar ljointvotes) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar ljointvotes) if oecd_i==1&oecd_j==0&dpi_yio<10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 6.367e-23}  
Iteration 1:{space 2}EE criterion = {res: 4.713e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    23,795
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 4.096693{col 26}{space 2} .6746102{col 37}{space 1}    6.07{col 46}{space 3}0.000{col 54}{space 4} 2.774481{col 67}{space 3} 5.418905
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.715618{col 26}{space 2} .0542282{col 37}{space 1}  105.40{col 46}{space 3}0.000{col 54}{space 4} 5.609332{col 67}{space 3} 5.821903
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t7, label word dec(3) e(n1 n0) append cttop(Non-democracy short) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t7.rtf"'"':bits_aid_t7.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t7.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar ljointvotes) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar ljointvotes) if oecd_i==1&oecd_j==0&dpi_yio>10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 8.873e-23}  
Iteration 1:{space 2}EE criterion = {res: 8.517e-31}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    16,491
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 3.817577{col 26}{space 2} .2704712{col 37}{space 1}   14.11{col 46}{space 3}0.000{col 54}{space 4} 3.287463{col 67}{space 3} 4.347691
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.237442{col 26}{space 2} .0668815{col 37}{space 1}   78.31{col 46}{space 3}0.000{col 54}{space 4} 5.106356{col 67}{space 3} 5.368527
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t7, label word dec(3) e(n1 n0) append cttop(Non-democracy long) noni nor2 ctitle("AIPW") sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t7.rtf"'"':bits_aid_t7.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t7.txt", label"':seeout}

{com}. 
. **other aid
. 
. //table a18: democracies
. ///short time horizon
> 
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar lln_aid_other) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar lln_aid_other) if oecd_i==1&oecd_j==0&dpi_yio<4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 1.470e-24}  
Iteration 1:{space 2}EE criterion = {res: 2.635e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    18,592
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}        lnaid{col 15}{c |} Coefficient{col 27}  std. err.{col 39}      z{col 47}   P>|z|{col 55}     [95% con{col 68}f. interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE           {txt}{c |}
{space 4}lbit_ratf {c |}
{space 4}(1 vs 0)  {c |}{col 15}{res}{space 2} 3.819217{col 27}{space 2}  .258355{col 38}{space 1}   14.78{col 47}{space 3}0.000{col 55}{space 4} 3.312851{col 68}{space 3} 4.325584
{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean        {txt}{c |}
{space 4}lbit_ratf {c |}
{space 11}0  {c |}{col 15}{res}{space 2} 6.154167{col 27}{space 2} .0648106{col 38}{space 1}   94.96{col 47}{space 3}0.000{col 55}{space 4} 6.027141{col 68}{space 3} 6.281194
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t8, label word dec(3) e(n1 n0) replace ctitle(Democracy short) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t8.rtf"'"':bits_aid_t8.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t8.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar lln_aid_other) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar lln_aid_other) if oecd_i==1&oecd_j==0&dpi_yio>=4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 8.127e-20}  
Iteration 1:{space 2}EE criterion = {res: 3.631e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    15,553
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}        lnaid{col 15}{c |} Coefficient{col 27}  std. err.{col 39}      z{col 47}   P>|z|{col 55}     [95% con{col 68}f. interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE           {txt}{c |}
{space 4}lbit_ratf {c |}
{space 4}(1 vs 0)  {c |}{col 15}{res}{space 2} 4.057841{col 27}{space 2} .3859449{col 38}{space 1}   10.51{col 47}{space 3}0.000{col 55}{space 4} 3.301402{col 68}{space 3} 4.814279
{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean        {txt}{c |}
{space 4}lbit_ratf {c |}
{space 11}0  {c |}{col 15}{res}{space 2} 6.218624{col 27}{space 2} .0696152{col 38}{space 1}   89.33{col 47}{space 3}0.000{col 55}{space 4} 6.082181{col 68}{space 3} 6.355068
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t8, label word dec(3) e(n1 n0) append cttop(Democracy long) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t8.rtf"'"':bits_aid_t8.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t8.txt", label"':seeout}

{com}. 
. //table a19: non-democracies
. //short time horizon
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar lln_aid_other) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar lln_aid_other) if oecd_i==1&oecd_j==0&dpi_yio<10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 4.936e-23}  
Iteration 1:{space 2}EE criterion = {res: 7.647e-31}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    30,401
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}        lnaid{col 15}{c |} Coefficient{col 27}  std. err.{col 39}      z{col 47}   P>|z|{col 55}     [95% con{col 68}f. interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE           {txt}{c |}
{space 4}lbit_ratf {c |}
{space 4}(1 vs 0)  {c |}{col 15}{res}{space 2} 4.258428{col 27}{space 2} .3025278{col 38}{space 1}   14.08{col 47}{space 3}0.000{col 55}{space 4} 3.665485{col 68}{space 3} 4.851372
{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean        {txt}{c |}
{space 4}lbit_ratf {c |}
{space 11}0  {c |}{col 15}{res}{space 2} 5.510644{col 27}{space 2} .0469916{col 38}{space 1}  117.27{col 47}{space 3}0.000{col 55}{space 4} 5.418542{col 68}{space 3} 5.602746
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t8, label word dec(3) e(n1 n0) append cttop(Non-democracy short) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t8.rtf"'"':bits_aid_t8.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t8.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar lln_aid_other) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar lln_aid_other) if oecd_i==1&oecd_j==0&dpi_yio>10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 6.097e-22}  
Iteration 1:{space 2}EE criterion = {res: 3.735e-31}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    18,927
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}        lnaid{col 15}{c |} Coefficient{col 27}  std. err.{col 39}      z{col 47}   P>|z|{col 55}     [95% con{col 68}f. interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE           {txt}{c |}
{space 4}lbit_ratf {c |}
{space 4}(1 vs 0)  {c |}{col 15}{res}{space 2} 4.199118{col 27}{space 2} .2408906{col 38}{space 1}   17.43{col 47}{space 3}0.000{col 55}{space 4} 3.726981{col 68}{space 3} 4.671255
{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean        {txt}{c |}
{space 4}lbit_ratf {c |}
{space 11}0  {c |}{col 15}{res}{space 2}  5.29539{col 27}{space 2} .0600528{col 38}{space 1}   88.18{col 47}{space 3}0.000{col 55}{space 4} 5.177689{col 68}{space 3} 5.413092
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t8, label word dec(3) e(n1 n0) append cttop(Non-democracy long) noni nor2 ctitle("AIPW") sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t8.rtf"'"':bits_aid_t8.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t8.txt", label"':seeout}

{com}. 
. **donor exports
. 
. //table a20: democracies
. ///short time horizon
> 
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar lln_donor) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar lln_donor) if oecd_i==1&oecd_j==0&dpi_yio<4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 2.545e-15}  
Iteration 1:{space 2}EE criterion = {res: 9.451e-23}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}     9,596
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 3.061673{col 26}{space 2} .2659541{col 37}{space 1}   11.51{col 46}{space 3}0.000{col 54}{space 4} 2.540413{col 67}{space 3} 3.582933
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 6.928928{col 26}{space 2} .1002013{col 37}{space 1}   69.15{col 46}{space 3}0.000{col 54}{space 4} 6.732537{col 67}{space 3} 7.125319
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t9, label word dec(3) e(n1 n0) replace cttop(Democracy short) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t9.rtf"'"':bits_aid_t9.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t9.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar lln_donor) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar lln_donor) if oecd_i==1&oecd_j==0&dpi_yio>=4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 4.861e-23}  
Iteration 1:{space 2}EE criterion = {res: 2.073e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}     8,793
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 3.519753{col 26}{space 2} .4802085{col 37}{space 1}    7.33{col 46}{space 3}0.000{col 54}{space 4} 2.578562{col 67}{space 3} 4.460944
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 7.290389{col 26}{space 2} .1011565{col 37}{space 1}   72.07{col 46}{space 3}0.000{col 54}{space 4} 7.092126{col 67}{space 3} 7.488652
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t9, label word dec(3) e(n1 n0) append cttop(Democracy long) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t9.rtf"'"':bits_aid_t9.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t9.txt", label"':seeout}

{com}. 
. //table a21: non-democracies
. ///short time horizon
>  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar lln_donor) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar lln_donor) if oecd_i==1&oecd_j==0&dpi_yio<10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 9.252e-23}  
Iteration 1:{space 2}EE criterion = {res: 1.549e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    22,954
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2}  4.24638{col 26}{space 2} .2101466{col 37}{space 1}   20.21{col 46}{space 3}0.000{col 54}{space 4} 3.834501{col 67}{space 3}  4.65826
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 6.194538{col 26}{space 2} .0565452{col 37}{space 1}  109.55{col 46}{space 3}0.000{col 54}{space 4} 6.083711{col 67}{space 3} 6.305364
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t9, label word dec(3) e(n1 n0) append cttop(Non-democracy short) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t9.rtf"'"':bits_aid_t9.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t9.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar lln_donor) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar lln_donor) if oecd_i==1&oecd_j==0&dpi_yio>10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 8.386e-23}  
Iteration 1:{space 2}EE criterion = {res: 7.840e-31}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    15,838
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 3.520469{col 26}{space 2}  .239013{col 37}{space 1}   14.73{col 46}{space 3}0.000{col 54}{space 4} 3.052012{col 67}{space 3} 3.988926
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.694626{col 26}{space 2} .0667015{col 37}{space 1}   85.37{col 46}{space 3}0.000{col 54}{space 4} 5.563893{col 67}{space 3} 5.825359
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t9, label word dec(3) e(n1 n0) append cttop(Non-democracy long) noni nor2 ctitle("AIPW") sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t9.rtf"'"':bits_aid_t9.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t9.txt", label"':seeout}

{com}. 
. **human rights
. 
. //table a22: democracies
. ///short time horizon
> 
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar lciri_physint) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar lciri_physint) if oecd_i==1&oecd_j==0&dpi_yio<4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 3.297e-19}  
Iteration 1:{space 2}EE criterion = {res: 6.421e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    19,357
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}        lnaid{col 15}{c |} Coefficient{col 27}  std. err.{col 39}      z{col 47}   P>|z|{col 55}     [95% con{col 68}f. interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE           {txt}{c |}
{space 4}lbit_ratf {c |}
{space 4}(1 vs 0)  {c |}{col 15}{res}{space 2} 3.509384{col 27}{space 2} .2009061{col 38}{space 1}   17.47{col 47}{space 3}0.000{col 55}{space 4} 3.115616{col 68}{space 3} 3.903153
{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean        {txt}{c |}
{space 4}lbit_ratf {c |}
{space 11}0  {c |}{col 15}{res}{space 2} 5.941751{col 27}{space 2} .0640338{col 38}{space 1}   92.79{col 47}{space 3}0.000{col 55}{space 4} 5.816247{col 68}{space 3} 6.067255
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t10, label word dec(3) e(n1 n0) replace cttop(Democracy short) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t10.rtf"'"':bits_aid_t10.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t10.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar lciri_physint) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar lciri_physint) if oecd_i==1&oecd_j==0&dpi_yio>=4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 9.762e-19}  
Iteration 1:{space 2}EE criterion = {res: 6.378e-31}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    16,157
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}        lnaid{col 15}{c |} Coefficient{col 27}  std. err.{col 39}      z{col 47}   P>|z|{col 55}     [95% con{col 68}f. interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE           {txt}{c |}
{space 4}lbit_ratf {c |}
{space 4}(1 vs 0)  {c |}{col 15}{res}{space 2} 3.916576{col 27}{space 2} .3014421{col 38}{space 1}   12.99{col 47}{space 3}0.000{col 55}{space 4} 3.325761{col 68}{space 3} 4.507392
{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean        {txt}{c |}
{space 4}lbit_ratf {c |}
{space 11}0  {c |}{col 15}{res}{space 2} 6.117145{col 27}{space 2} .0685104{col 38}{space 1}   89.29{col 47}{space 3}0.000{col 55}{space 4} 5.982867{col 68}{space 3} 6.251423
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t10, label word dec(3) e(n1 n0) append cttop(Democracy long) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t10.rtf"'"':bits_aid_t10.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t10.txt", label"':seeout}

{com}. 
. //talbe a23: non-democracies
. ///short time horizon
>  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar lciri_physint) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar lciri_physint) if oecd_i==1&oecd_j==0&dpi_yio<10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 2.252e-23}  
Iteration 1:{space 2}EE criterion = {res: 5.892e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    26,436
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}        lnaid{col 15}{c |} Coefficient{col 27}  std. err.{col 39}      z{col 47}   P>|z|{col 55}     [95% con{col 68}f. interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE           {txt}{c |}
{space 4}lbit_ratf {c |}
{space 4}(1 vs 0)  {c |}{col 15}{res}{space 2} 4.389599{col 27}{space 2} .2840287{col 38}{space 1}   15.45{col 47}{space 3}0.000{col 55}{space 4} 3.832913{col 68}{space 3} 4.946285
{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean        {txt}{c |}
{space 4}lbit_ratf {c |}
{space 11}0  {c |}{col 15}{res}{space 2}  5.80972{col 27}{space 2} .0515125{col 38}{space 1}  112.78{col 47}{space 3}0.000{col 55}{space 4} 5.708757{col 68}{space 3} 5.910683
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t10, label word dec(3) e(n1 n0) append ctitle(Non-democracy short) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t10.rtf"'"':bits_aid_t10.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t10.txt", label"':seeout}

{com}. 
. ///long time horizon
> 
.  teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar lciri_physint) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar lciri_physint) if oecd_i==1&oecd_j==0&dpi_yio>10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 5.732e-24}  
Iteration 1:{space 2}EE criterion = {res: 1.920e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    17,995
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27}    Robust
{col 1}        lnaid{col 15}{c |} Coefficient{col 27}  std. err.{col 39}      z{col 47}   P>|z|{col 55}     [95% con{col 68}f. interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE           {txt}{c |}
{space 4}lbit_ratf {c |}
{space 4}(1 vs 0)  {c |}{col 15}{res}{space 2} 3.787343{col 27}{space 2} .2117257{col 38}{space 1}   17.89{col 47}{space 3}0.000{col 55}{space 4} 3.372368{col 68}{space 3} 4.202318
{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean        {txt}{c |}
{space 4}lbit_ratf {c |}
{space 11}0  {c |}{col 15}{res}{space 2}  5.30588{col 27}{space 2} .0627126{col 38}{space 1}   84.61{col 47}{space 3}0.000{col 55}{space 4} 5.182966{col 68}{space 3} 5.428795
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using bits_aid_t10, label word dec(3) e(n1 n0) append cttop(Non-democracy long) noni nor2  sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid_t10.rtf"'"':bits_aid_t10.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid_t10.txt", label"':seeout}

{com}. 
. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}I:\Sebastian\Statistics\Stata\Stata13\fpa-bitsaid-appendix-b.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}27 Jul 2025, 16:22:44
{txt}{.-}
{smcl}
{txt}{sf}{ul off}